package com.jds.architecture.service.dbaccess;

//import javax.sql.ConnectionPoolDataSource;
import java.sql.Connection;

import javax.sql.ConnectionPoolDataSource;


/**
 * <p>
 * DBAccessInterface is an interface for all DBAccess connection type classes.
 * </p> 
 */
public interface DBAccessInterface {
	public ConnectionPoolDataSource getDataSource () throws DBAccessException ;
	//public PooledConnection getDataSource () throws DBAccessException ;
	public Connection getConnection() throws DBAccessException;
	public void reconnect()throws DBAccessException;
	public void dbConnect()throws DBAccessException;
	
}
